home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / redakcyjne / programy / PSPad editor 4.5.4 build 2356 beta / pspad454inst_en.exe / {app} / Context / TeX.def (.txt) < prev    next >
LaTeX Document  |  2006-06-08  |  8KB  |  299 lines

  1. ; PSPad clip definition file for LaTeX
  2. ; Created by PSPad  30.1.2003
  3. ; Author:  Tom
  4.  Vacek
  5. ; Translation: Jan Fiala
  6. [Macro definition]
  7. %PismoVelikost%=@C font size:,,normalsize,tiny;scriptsize;footnotesize;small;normalsize;large;Large;LARGE;huge;Huge,
  8. %PismoStyl%=@C font style:,,rm,rm;it;bf;sl;sf;sc;tt;em,
  9. %StylDoc%=@C style: ,,article,article;report;book;letter;slides;twoside
  10. %FormatStranky%=@C style: ,,empty,plain;headings;empty
  11. %Zarovnani%=@C style: ,,center,flushleft;flushright;center
  12. %Block%=@C environment: ,,,document;figure;quote;quotation;verse;itemize;enumerate;description;tabular;tabbing;thebibliography;verbatim;equation;eqnarray,
  13. %VolbyDoc%=@C options: ,,a4paper,a4paper;a5paper;"a4paper,landscape";"a4paper,landscape,twocolumn";letterpaper
  14. %Package%=@C package: ,,czech,czech;graphicx;makeidx;amstex;color;graphpap;pict2e
  15. %Nadpis%=@C section type: ,,section,section;subsection;subsubsection;part;chapter;paragraph;subparagraph;appendi
  16. %ReckaAbecedaMala%=@C page format: ,,alpha,alpha;beta;gamma;delta;epsilon;vareepsilon;zeta;eta;theta;vartheta;iota;kappa;lambda;mu;nu;xi;o;pi;varpi;rho;varrho;sigma;varsigma;tau;upsilon;phi;varphi;chi;psi;omega
  17. %MatFun%=@C mathematical function: ,,sin,sin;cos;tan;cot;arcsin;arccos;arctan;ln;log;lim;max;min;det;dim
  18. %Integral%=@C Integral: ,,\int,\int;\int\limits,
  19. %Suma%=@C Sum: ,,\sum,\sum\nolimits;\sum,
  20. %edit1%=@E Scale:,,,,
  21. %edit2%=@E Picture:,,,,
  22. %edit3%=@E Description:,,,,
  23. %edit4%=@O File:,,,(*.tex)|*.tex,,R/
  24. %obr1%=@P Picture:,,,(*.ps;*.eps)|*.ps;*eps,,R/
  25. %edit5%=@E Name:,,,,
  26. %edit6%=@E Upper limit:,,,,
  27. %edit7%=@E Lower limit:,,,,
  28. %edit8%=@E Value+unit:,,,,
  29. %edit9%=@E Height+unit:,,,,
  30. %edit10%=@E Width+unit:,,,,
  31. %edit11%=@E Desription:,,,,
  32. %edit12%=@E Rotation:,,,,
  33. %edit13%=@E Title:,,,,
  34. %znak2%=@K Double cross: #,\#
  35. %znak3%=@K Dollar: $,\$
  36. %znak4%=@K Percent: %,\%
  37. %znak5%=@K Ampersand: &,\&
  38. %znak6%=@K Underscope: _,\_
  39. %znak7%=@K Left bracket: {,\{
  40. %znak8%=@K Right bracket: },\}
  41. %znak9%=@K Death:,\dag
  42. %znak10%=@K Three points: ...,\dots
  43. %znak11%=@K Comma delimiter:,","
  44. %mat1%=@K Upper index,^{|}
  45. %mat2%=@K Lower index,_{|}
  46. %mat3%=@K Radix,\sqrt{|}
  47. %mat4%=@K N-radix,\sqrt[|]{}
  48. %mat5%=@K Left bracket,\left
  49. %mat6%=@K Right bracket,\right
  50. %mat7%=@K less or equal,\leq
  51. %mat8%=@K great or equal,\geq
  52. %mat9%=@K approximately,\doteq
  53. %mat10%=@K unequal,\neq
  54. %mat11%=@K plus-minus,\pm
  55. %mat12%=@K implication,\Rightarrow
  56. %mat13%=@K equivalence,\Leftrightarrow
  57. %pStyl1%=@K Roman,\rm
  58. %pStyl2%=@K Sans serif,\sf
  59. %pStyl3%=@K typewriter,\tt
  60. %pStyl4%=@K italic,\it
  61. %pStyl5%=@K capital,\sc
  62. %pStyl6%=@K half bold,\bf
  63. [  \ |b comment]
  64. [ % |b comment]
  65. [ {} |b brackets]
  66. [ SpecZnak |b special characters and symbols]
  67. %znak2%%znak3%%znak4%%znak5%%znak6%%znak7%%znak8%%znak9%%znak10% |
  68. [docsclass |r document class]
  69. \documentclass[%VolbyDoc%]{%StylDoc%}
  70. [pagestyle1 |r page style]
  71. \pagestyle{%FormatStranky%}
  72. [pagestyle2 |r page style change]
  73. \thispagestyle{%formatStranky%}
  74. [hlavi
  75. ka1 |r header text]
  76. \markright{
  77. [usepackage |r include package]
  78. \usepackage{%Package%}
  79. [usepackage2 |r include package with options]
  80. \usepackage[|]{}
  81. [includeonly |r mark document for including only]
  82. \includeonly{
  83. [include |b include document]
  84. \include{%edit4%}
  85. [pVel |b font size]
  86. \%PismoVelikost% |
  87. [pStyl |b font style]
  88. %pStyl1%%pStyl2%%pStyl3%%pStyl4%%pStyl5%%pStyl6% 
  89. [begin-end |b environment]
  90. \begin{%Block%}
  91. \end{%Block%}
  92. [datum |b insert date]
  93. \today{} |
  94. [newline |b line break]
  95. \newline
  96. [newpage |b page break]
  97. \newpage
  98. [mbox |b non break word]
  99. \mbox{
  100. [uv2 |b upper rounded quotes]
  101. [nadpisy1 |b numbered titles, chapters,...]
  102. \%Nadpis%{%edit13%
  103. [nadpisy2 |b nonnumbered titles, chapters,...]
  104. \%Nadpis%*{%edit13%
  105. [author |r author]
  106. \author{
  107. [title |r document name]
  108. \title{
  109. [maketitle |b page title]
  110. \maketitle
  111. [content1 |b table of contents]
  112. \tableofcontents
  113. [content2 |b list of pictures]
  114. \listoffigures
  115. [content3 |b list of tables]
  116. \listoftables
  117. [label |b label link]
  118. \label{
  119. [ref |b reference link]
  120. \ref{
  121. [refpage |b link to page with label]
  122. \pageref{
  123. [pozn1 |b footer note]
  124. \footnote{
  125. [pozn2 |b margin note]
  126. \marginpar{\em 
  127. [citace1 |b short citation]
  128. \begin{quote}
  129. \end{quote}
  130. [citace2 |b long citation (several paragraph)]
  131. \begin{quotation}
  132. \end{quotation}
  133. [citace3 |b poem]
  134. \begin{verse}
  135. \end{verse}
  136. et1 |b single listing]
  137. \begin{itemize}
  138. \item 
  139. \item
  140. \item
  141. \end{itemize}
  142. et2 |b numbered listing]
  143. \begin{enumerate}
  144. \item 
  145. \item
  146. \item
  147. \end{enumerate}
  148. et3 |b listiong with cations]
  149. \begin{description}
  150. \item [
  151. \item []
  152. \item []
  153. \end{description}
  154. [zarovn
  155.  |b block align]
  156. \begin{%Zarovnani%}
  157. \end{%Zarovnani%}
  158. [verbatim |b unformated text]
  159. \begin{verbatim}
  160. \end{verbatim}
  161. [verb |b unformated short verb]
  162. \verb+| +
  163. [math1 |b mathematical formula in text]
  164. [math2 |b mathematical formula]
  165. [math3 |b mathematical formula with numbering]
  166. \begin{equation}
  167. \end{equation}
  168. [math4 |b aligned mathematical formula with numbering]
  169. \begin{eqnarray}
  170. |&=& \\
  171. &=&  \\
  172. &=&  \\
  173. \end{eqnarray}
  174. [zlomek |b fraction with horizontal line]
  175. \frac{
  176.  |b Greek alphabet - lower]
  177. \%ReckaAbecedaMala%|
  178. [fce2 |b Math function]
  179. \%MatFun%(|
  180. [fce1 |b Math functions and symbols]
  181. %mat1%%mat2%%mat3%%mat4%%mat5%%mat6%
  182. [integr
  183. l |b Integral]
  184. %Integral%_{%edit6%}^{%edit7%}
  185. [suma |b Sum]
  186. %Suma%_{%edit6%}^{%edit7%}
  187. [matSymb |b Mathematical symbols]
  188. %mat7%%mat8%%mat9%%mat10%%mat11%%mat12%%mat13%|
  189. [tab1 |b Tablular]
  190. \begin{tabular}{||c||r|l|}
  191. \hline
  192. \bfseries 
  193.  & \bfseries & \bfseries \\
  194. \hline
  195. \hline
  196.  &  &  \\
  197.  &  &  \\
  198. \hline
  199. \end{tabular}
  200. [tab2 |b Tabbing]
  201. \begin{tabbing}
  202. |\=  \=  \kill
  203.  \>  \>  \\
  204.  \>  \>  \\
  205. \end{tabbing}
  206. [tab |b Table + caption]
  207. \begin{table}[htbp]
  208.   \caption{%edit11%} \label{}
  209. \end{table}
  210. [titulek |b caption]
  211. \caption[]{
  212. [obrDef | picture definition]
  213. \def\jpgfig#1#2#3{%
  214.   \begin{figure}[htbp]%
  215.   \centerline{%
  216.   \scalebox{#1}{%
  217.    \pdfimage{#2}%
  218.    }%
  219.    }%
  220.    \caption{#3}\label{#2}%
  221.   \end{figure}%
  222. [obr2 | insert picture jpg, pdf, pgn]
  223. \jpgfig{%edit1%}{%edit2%}{%edit3%}
  224. [obr1 |b insert picture eps, ps]
  225. \begin{figure}[!ht]
  226.   \includegraphics[width=%edit10%, height=%edit9%]{%obr1%}
  227.   \caption{%edit11%} \label{|}
  228. \end{figure}
  229. ; NASTAVEN
  230.  OKRAJ
  231.  - RELATIVN
  232.  K NASTAVEN
  233. ; textwidth  - 
  234. ka textu
  235. ; textheight - v
  236. ka textu
  237. [okraje |r relative border settings]
  238. \addtolength{\hoffset}{-
  239. \addtolength{\textwidth}{cm}
  240. \addtolength{\topmargin}{-cm}
  241. \addtolength{\textheight}{cm}
  242. [docPrip | reminder template]
  243. \documentclass[a5paper]{article}
  244. \usepackage{graphicx}
  245. \addtolength{\hoffset}{-0.5cm}
  246. \addtolength{\textwidth}{1cm}
  247. \addtolength{\topmargin}{-3.5cm}
  248. \addtolength{\textheight}{5.5cm}
  249. \def\jpgfig#1#2{%
  250.   \begin{figure}[htbp]%
  251.   \centerline{%
  252.   \scalebox{#1}{%
  253.    \pdfimage{#2}%
  254.    }%
  255.    }%
  256.    \label{#2}%
  257.   \end{figure}%
  258. \begin{document}
  259. \jpgfig{0.3}{p.png}
  260. \paragraph{Kalend
  261. \end{document}
  262. [newcmd |b new command]
  263. \newcommand{\%edit5%}{
  264. [newenv |b new environment]
  265. \newenvironment{%edit5%}[]
  266.  |r set spacing]
  267. \linespread{%edit8%}
  268. [odsANO |b paragraph indent]
  269. \indent
  270. [odsNE |b disable paragraph indent]
  271. \noindent
  272. [mezH |b horizontal space]
  273. \hspace{%edit8%}
  274. [mezV1 |b vertical space between paragraphs]
  275. \vspace{%edit8%}
  276. [mezV2 |b vertical space in paragraph]
  277. \\[%edit8%]
  278. [lit1 |b bibliography list]
  279. \begin{thebibliography}{99}
  280. \bibitem{
  281. \bibitem{}
  282. \end{thebibliography}
  283. [lit2 |b literature reference]
  284. \cite{
  285. [hyph |r word divide definition]
  286. \hyphenation{|}
  287. [clearpage |b print floating object]
  288. \clearpage
  289. [par1 |b sets parameter]
  290. \setlength{\|}{}
  291. [par2 |b add value to parameter]
  292. \addtolength{\|}{}
  293. [mkindex |r Make Index]
  294. \makeindex
  295. [index |b Index]
  296. \index{
  297. [printindex |b Print Index]
  298. \printindex
  299.